
app:registClass("SkillController", "app.skill.controllers.SkillController")
app:registClass("SkillChangeController", "app.skill.controllers.SkillChangeController")

app:registInst(import(".models.SkillModel").new())

app:registInst(app:getClass("SkillController").new({type="systemUI"}))
app:registInst(app:getClass("SkillChangeController").new({type="systemUI"}))


app.session:on("pb_speeddungeon.S2C_SpeedDungeonRoleSkills", function(msg)
    app:sendMsg("SkillModel", "onSpeedDungeonRoleSkills", msg)
end)